//
//  DeviceSun.h
//  sensen_ios
//
//  Created by mc on 16/4/8.
//  Copyright © 2016年 pro. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "APIs.h"

@interface DeviceSun : NSObject

@property (nonatomic, assign) int lock;//锁定状态
@property (nonatomic, assign) int low;//低温阀值
@property (nonatomic, assign) int high;//高温阀值
@property (nonatomic, assign) int failureState;//故障状态
@property (nonatomic, assign) int waterTemperature;//水温状态
@property (nonatomic, assign) int lamp;//杀菌灯状态
@property (nonatomic, assign) int waterPump;//冲浪水泵状态
@property (nonatomic, assign) int floodlight;//照明灯状态
@property (nonatomic, assign) int standbyPower;//备用电源状态
@property (nonatomic, assign) int waterLevel;//水位状态
@property (nonatomic, assign) int pH;//ph值状态
@property (nonatomic, copy) NSString * password;//密码
@property (nonatomic, copy) NSString * state;
@property (nonatomic, copy) NSNumber * majorVersion;//主版本
@property (nonatomic,copy) NSString * datetime; //设备时间
@property (nonatomic, copy) NSString * versionInfo;//版本信息
@property (nonatomic, assign) DeviceMainVersion version;
@property (nonatomic, assign) int highTemperature;//温度上线
@property (nonatomic, assign) int cyclePumpPower;//循环水泵功率
@property (nonatomic, assign) int lampPower ;//杀菌灯功率
@property (nonatomic, assign) int waterPumpPower;//冲浪水泵功率
@property (nonatomic, assign) int floodlightPower ;//灯光功率
@property (nonatomic, assign) CGFloat temperature;//温度


+(DeviceSun *)defaultDevice;


@end
